<template>
  <div>
    <button @click="info">show g</button>

    <micro-app name="micro-react" url="http://localhost:3000/"></micro-app>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue';

const name = ref('jack-11')
const info = () => {
  name.value = 'jack-react'
  alert((window as any).globalStr)
}
</script>